This commit is contained in:
Henrik Bakken
2021-06-08 14:14:18 +02:00
parent b92e131f1b
commit 157d5007ce
7 changed files with 175 additions and 12 deletions
+152
View File
@@ -0,0 +1,152 @@
[global]
monitor = 0
follow = keyboard
geometry = "350x5-0+24"
indicate_hidden = yes
shrink = yes
transparency = 20
notification_height = 0
separator_height = 2
padding = 0
horizontal_padding = 8
frame_width = 3
frame_color = "#282828"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
idle_threshold = 120
font = Monospace 14
line_height = 0
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
alignment = left
show_age_threshold = 60
word_wrap = yes
ellipsize = middle
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = true
show_indicators = yes
icon_position = left
max_icon_size = 40
#icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/
sticky_history = yes
history_length = 20
dmenu = /usr/bin/dmenu -p dunst:
browser = /usr/bin/firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
title = Dunst
class = Dunst
startup_notification = false
force_xinerama = false
[experimental]
per_monitor_dpi = false
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
context = ctrl+shift+period
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#282828"
foreground = "#928374"
timeout = 5
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#458588"
foreground = "#ebdbb2"
timeout = 5
[urgency_critical]
background = "#cc2421"
foreground = "#ebdbb2"
frame_color = "#fabd2f"
timeout = 0
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
# Messages can be matched by "appname", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format".
# Shell-like globbing will get expanded.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
# vim: ft=cfg
+1 -2
View File
@@ -1,11 +1,10 @@
set -x QT_QPA_PLATFORMTHEME "qt5ct" set -x QT_QPA_PLATFORMTHEME "qt5ct"
set -x GTK2_RC_FILES "$HOME/.gtkrc-2.0" set -x GTK2_RC_FILES "$HOME/.gtkrc-2.0"
set -x JAVA_HOME "/usr/lib/jvm/default/"
set -x PYTHONBREAKPOINT ipdb.set_trace set -x PYTHONBREAKPOINT ipdb.set_trace
# cuda stuff # cuda stuff
set -x CUDA_HOME /opt/cuda set -x CUDA_HOME /opt/cuda
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH:$CUDA_HOME/lib64 set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH $CUDA_HOME/lib64
set -Ua fish_user_paths /home/hjalmarlucius/.local/bin/ set -Ua fish_user_paths /home/hjalmarlucius/.local/bin/
# Base16 Shell # Base16 Shell
@@ -2,15 +2,12 @@ function fish_user_key_bindings
for mode in insert default visual for mode in insert default visual
bind -M $mode \cf forward-char bind -M $mode \cf forward-char
end end
bind --preset _ beginning-of-line
bind -M insert \ew __fzf_reverse_isearch bind -M insert \ew __fzf_reverse_isearch
bind -M insert \eo '__fzf_cd --hidden' bind -M insert \eo '__fzf_cd --hidden'
bind -M insert \eF __fzf_find_file bind -M insert \eF __fzf_find_file
bind -M insert \ef __fzf_open bind -M insert \ef __fzf_open
end end
fzf_key_bindings
function ll --description 'List contents of directory using long format' function ll --description 'List contents of directory using long format'
ls -lha $argv ls -lha $argv
end end
+16
View File
@@ -0,0 +1,16 @@
[Settings]
gtk-theme-name=Arc-Gruvbox
gtk-icon-theme-name=Adwaita
gtk-font-name=Sans 10
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_TEXT
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb
gtk-cursor-theme-name=Adwaita
+1
View File
@@ -166,6 +166,7 @@ bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9 bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
# Open specific applications in floating mode # Open specific applications in floating mode
for_window [class=".*"] border pixel 3
for_window [class="GParted"] floating enable border normal for_window [class="GParted"] floating enable border normal
for_window [class="Lightdm-settings"] floating enable for_window [class="Lightdm-settings"] floating enable
for_window [class="Lxappearance"] floating enable sticky enable border normal for_window [class="Lxappearance"] floating enable sticky enable border normal
+1 -1
View File
@@ -9,7 +9,7 @@
* `curl -L https://get.oh-my.fish | fish` * `curl -L https://get.oh-my.fish | fish`
* `omf install https://github.com/edc/bass` * `omf install https://github.com/edc/bass`
* `omf install https://github.com/jethrokuan/fzf` * `omf install https://github.com/jethrokuan/fzf`
* div applications `yay -S thunar ranger drawio-desktop steam-manjaro` * div applications `yay -S thunar ranger drawio-desktop steam-manjaro vtop nvtop`
* div utils `yay -S trash-cli rofi redshift flameshot asus-fan-control` * div utils `yay -S trash-cli rofi redshift flameshot asus-fan-control`
* sysrq lock shutdown https://forum.manjaro.org/t/howto-reboot-turn-off-your-frozen-computer-reisub-reisuo/3855 * sysrq lock shutdown https://forum.manjaro.org/t/howto-reboot-turn-off-your-frozen-computer-reisub-reisuo/3855
+ `echo kernel.sysrq=1 | sudo tee --append /etc/sysctl.d/99-sysctl.conf` + `echo kernel.sysrq=1 | sudo tee --append /etc/sysctl.d/99-sysctl.conf`
+4 -6
View File
@@ -69,11 +69,13 @@ endif
if !exists('g:colors_name') if !exists('g:colors_name')
" let g:seoul256_background=233 " let g:seoul256_background=233
" silent! colorscheme seoul256 " silent! colorscheme seoul256
silent! colorscheme base16-monokai silent! colorscheme seoul256-light
" silent! colorscheme base16-monokai
" silent! colorscheme base16-tomorrow-night " silent! colorscheme base16-tomorrow-night
" seoul256 theme config: dark 233-239, light 252-256 " seoul256 theme config: dark 233-239, light 252-256
endif endif
highlight Normal guibg=NONE ctermbg=NONE set colorcolumn=88
highlight ColorColumn ctermbg=0
highlight LineNr guibg=NONE ctermbg=NONE highlight LineNr guibg=NONE ctermbg=NONE
highlight clear SignColumn highlight clear SignColumn
@@ -117,10 +119,6 @@ set undofile " Persistent undo
set undolevels=500 " Maximum number of changes that can be undone set undolevels=500 " Maximum number of changes that can be undone
set undoreload=5000 " Maximum number lines to save for undo on a buffer reload set undoreload=5000 " Maximum number lines to save for undo on a buffer reload
" line width ruler
set colorcolumn=88
highlight ColorColumn ctermbg=0 guibg='#3a3a3a'
" search " search
set ignorecase " Case insensitive search set ignorecase " Case insensitive search
set smartcase " ... but case sensitive when uc present set smartcase " ... but case sensitive when uc present