This commit is contained in:
Henrik Bakken
2021-01-19 04:00:22 +01:00
parent 593b6d65d3
commit 610fdaae2d
9 changed files with 84 additions and 141 deletions
+6 -2
View File
@@ -1,5 +1,3 @@
thefuck --alias | source
set -x VISUAL /usr/bin/nvim set -x VISUAL /usr/bin/nvim
set -x EDITOR /usr/bin/nvim set -x EDITOR /usr/bin/nvim
set -x BROWSER /usr/bin/chromium set -x BROWSER /usr/bin/chromium
@@ -24,3 +22,9 @@ set -x MKL_DEBUG_CPU_TYPE 5
# fzf bindings # fzf bindings
set -U FZF_LEGACY_KEYBINDINGS 0 set -U FZF_LEGACY_KEYBINDINGS 0
function fish_user_key_bindings
for mode in insert default visual
bind -M $mode \cf forward-char
end
end
+3
View File
@@ -0,0 +1,3 @@
function ll --description 'List contents of directory using long format'
ls -lha $argv
end
+17 -65
View File
@@ -29,8 +29,7 @@ workspace_auto_back_and_forth no
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
# font xft:URWGothic-Book 11 font xft:URWGothic-Book 10
font pango:Noto Sans 11
# Use Mouse+$mod to drag floating windows # Use Mouse+$mod to drag floating windows
floating_modifier $mod floating_modifier $mod
@@ -44,30 +43,22 @@ bindsym $mod+Shift+q kill
# start program launcher # start program launcher
bindsym $mod+d exec --no-startup-id rofi -show combi -combi-modi "run#drun" -lines 10 -eh 2 -width 30 bindsym $mod+d exec --no-startup-id rofi -show combi -combi-modi "run#drun" -lines 10 -eh 2 -width 30
################################################################################################ exec --no-startup-id start-pulseaudio-x11
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ## exec --no-startup-id pa-applet
################################################################################################ bindsym $mod+Ctrl+m exec pavucontrol
exec --no-startup-id volumeicon bindsym Pause exec pactl set-sink-volume @DEFAULT_SINK@ +10%
bindsym $mod+Ctrl+m exec $term -e 'alsamixer' bindsym Print exec pactl set-sink-volume @DEFAULT_SINK@ -10%
#exec --no-startup-id pulseaudio bindsym Scroll_Lock exec pactl set-sink-mute @DEFAULT_SINK@ toggle
#exec --no-startup-id pa-applet
#bindsym $mod+Ctrl+m exec pavucontrol
################################################################################################
bindsym Pause exec amixer -q sset Master 3%+
bindsym Print exec amixer -q sset Master 3%-
bindsym Scroll_Lock exec amixer -q sset Master toggle
################################################################################################
# Screen brightness controls # Screen brightness controls
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" # bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'" # bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
# enable / disable caps->escape bind # enable / disable caps->escape bind
bindsym $mod+F10 exec "setxkbmap -layout no -variant nodeadkeys -option" bindsym $mod+F10 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option"
bindsym $mod+F11 exec "setxkbmap -layout no -variant nodeadkeys -option 'caps:backspace'" bindsym $mod+F11 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option 'caps:backspace'"
bindsym $mod+F12 exec "setxkbmap -layout no -variant nodeadkeys -option 'caps:escape'" bindsym $mod+F12 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option 'caps:escape'"
# Start Applications # Start Applications
bindsym $mod+Ctrl+b exec $term -e 'bmenu' bindsym $mod+Ctrl+b exec $term -e 'bmenu'
@@ -77,8 +68,8 @@ bindsym $mod+F3 exec thunar
bindsym $mod+Shift+F3 exec $term -e 'ranger' bindsym $mod+Shift+F3 exec $term -e 'ranger'
bindsym $mod+F4 exec $term -e 'mocp' bindsym $mod+F4 exec $term -e 'mocp'
bindsym $mod++Shift+F4 exec $term -e 'ncspot' bindsym $mod++Shift+F4 exec $term -e 'ncspot'
bindsym $mod+t exec --no-startup-id pkill picom bindsym $mod+Shift+t exec --no-startup-id pkill picom
bindsym $mod+Shift+t exec --no-startup-id picom -b bindsym $mod+t exec --no-startup-id picom -b
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'" bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
bindsym $mod+Shift+s --release exec --no-startup-id flameshot gui bindsym $mod+Shift+s --release exec --no-startup-id flameshot gui
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
@@ -89,29 +80,17 @@ bindsym $mod+j focus down
bindsym $mod+k focus up bindsym $mod+k focus up
bindsym $mod+l focus right bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window # move focused window
bindsym $mod+Shift+h move left bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right bindsym $mod+Shift+l move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# workspace back and forth (with/without active container) # workspace back and forth (with/without active container)
bindsym $mod+b workspace back_and_forth bindsym $mod+b workspace back_and_forth
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
# split orientation # split orientation
bindsym $mod+bar split h;exec notify-send 'tile horizontally'
bindsym $mod+minus split v;exec notify-send 'tile vertically'
bindsym $mod+q split toggle bindsym $mod+q split toggle
# toggle fullscreen mode for the focused container # toggle fullscreen mode for the focused container
@@ -129,21 +108,17 @@ bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
# toggle sticky # toggle sticky
bindsym $mod+Shift+s sticky toggle bindsym $mod+Shift+a sticky toggle
# focus the parent container # focus the parent container
bindsym $mod+a focus parent bindsym $mod+a focus parent
# move the currently focused window to the scratchpad # move the currently focused window to the scratchpad
# bindsym $mod+Shift+minus move scratchpad bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window. # Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them. # If there are multiple scratchpad windows, this command cycles through them.
# bindsym $mod+minus scratchpad show bindsym $mod+minus scratchpad show
#navigate workspaces next / previous
bindsym $mod+Ctrl+Right workspace next
bindsym $mod+Ctrl+Left workspace prev
# Workspace names # Workspace names
# to display names or symbols instead of plain workspace numbers you can use # to display names or symbols instead of plain workspace numbers you can use
@@ -276,21 +251,11 @@ mode "$mode_system" {
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym l resize shrink width 10 px or 10 ppt bindsym l resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt bindsym k resize grow height 10 px or 10 ppt
bindsym j resize shrink height 10 px or 10 ppt bindsym j resize shrink height 10 px or 10 ppt
bindsym h resize grow width 10 px or 10 ppt bindsym h resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# exit resize mode: Enter or Escape # exit resize mode: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
@@ -311,24 +276,13 @@ exec_always --no-startup-id fix_xcursor
exec_always for id in $(xinput list | grep "pointer" | cut -d '=' -f 2 | cut -f 1); do xinput --set-prop $id 'libinput Accel Profile Enabled' 0, 1; done exec_always for id in $(xinput list | grep "pointer" | cut -d '=' -f 2 | cut -f 1); do xinput --set-prop $id 'libinput Accel Profile Enabled' 0, 1; done
# HB STARTUP ADDITIONS # HB STARTUP ADDITIONS
exec --no-startup-id setxkbmap -layout no -variant nodeadkeys -option "caps:escape" exec --no-startup-id setxkbmap -layout no -model pc105 -variant nodeadkeys -option "caps:escape"
exec --no-startup-id redshift-gtk exec --no-startup-id redshift-gtk
exec --no-startup-id dropbox start & exec --no-startup-id dropbox start &
exec --no-startup-id nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60 exec --no-startup-id nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60
exec --no-startup-id xrandr --output DP-2 --mode 3840x2160 --output DP-0 --mode 2560x1440 --right-of DP-2 --primary exec --no-startup-id xrandr --output DP-2 --mode 3840x2160 --output DP-0 --mode 2560x1440 --right-of DP-2 --primary
# Color palette used for the terminal ( ~/.Xresources file ) # Color palette used for the terminal ( ~/.Xresources file )
# Colors are gathered based on the documentation:
# https://i3wm.org/docs/userguide.html#xresources
# Change the variable name at the place you want to match the color
# of your terminal like this:
# [example]
# If you want your bar to have the same background color as your
# terminal background change the line 362 from:
# background #14191D
# to:
# background $term_background
# Same logic applied to everything else.
set_from_resource $term_background background set_from_resource $term_background background
set_from_resource $term_foreground foreground set_from_resource $term_foreground foreground
set_from_resource $term_color0 color0 set_from_resource $term_color0 color0
@@ -356,11 +310,9 @@ bar {
## please set your primary output first. Example: 'xrandr --output eDP1 --primary' ## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
# tray_output HDMI-0 tray_output primary
bindsym button4 nop bindsym button4 nop
bindsym button5 nop bindsym button5 nop
# font xft:URWGothic-Book 11
strip_workspace_numbers yes strip_workspace_numbers yes
colors { colors {
+3 -3
View File
@@ -40,17 +40,17 @@ ethernet _first_ {
order += "disk /" order += "disk /"
disk "/" { disk "/" {
format = " /  %avail / %percentage_avail " format = " /  %total / %percentage_avail "
} }
order += "disk /mnt/nuuetHDD/" order += "disk /mnt/nuuetHDD/"
disk "/mnt/nuuetHDD/" { disk "/mnt/nuuetHDD/" {
format = " /mnt/nuuetHDD/ ⛁ %avail / %percentage_avail " format = " /mnt/nuuetHDD/ ⛁ %total / %percentage_avail "
} }
order += "disk /mnt/OneDrive/" order += "disk /mnt/OneDrive/"
disk "/mnt/OneDrive/" { disk "/mnt/OneDrive/" {
format = " /mnt/OneDrive/ ⛁ %avail / %percentage_avail " format = " /mnt/OneDrive/ ⛁ %total / %percentage_avail "
} }
# order += "battery 0" # order += "battery 0"
+13 -62
View File
@@ -29,8 +29,7 @@ workspace_auto_back_and_forth no
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
# font xft:URWGothic-Book 11 font xft:URWGothic-Book 10
font pango:Noto Sans 11
# Use Mouse+$mod to drag floating windows # Use Mouse+$mod to drag floating windows
floating_modifier $mod floating_modifier $mod
@@ -44,21 +43,13 @@ bindsym $mod+Shift+q kill
# start program launcher # start program launcher
bindsym $mod+d exec --no-startup-id rofi -show combi -combi-modi "run#drun" -lines 10 -eh 2 -width 30 bindsym $mod+d exec --no-startup-id rofi -show combi -combi-modi "run#drun" -lines 10 -eh 2 -width 30
################################################################################################ exec --no-startup-id start-pulseaudio-x11
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ## exec --no-startup-id pa-applet
################################################################################################ bindsym $mod+Ctrl+m exec pavucontrol
exec --no-startup-id volumeicon bindsym Pause exec pactl set-sink-volume @DEFAULT_SINK@ +10%
bindsym $mod+Ctrl+m exec $term -e 'alsamixer' bindsym Print exec pactl set-sink-volume @DEFAULT_SINK@ -10%
#exec --no-startup-id pulseaudio bindsym Scroll_Lock exec pactl set-sink-mute @DEFAULT_SINK@ toggle
#exec --no-startup-id pa-applet
#bindsym $mod+Ctrl+m exec pavucontrol
################################################################################################
bindsym Pause exec amixer -q sset Master 3%+
bindsym Print exec amixer -q sset Master 3%-
bindsym Scroll_Lock exec amixer -q sset Master toggle
################################################################################################
# Screen brightness controls # Screen brightness controls
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'" # bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
@@ -68,8 +59,6 @@ bindsym Scroll_Lock exec amixer -q sset Master toggle
bindsym $mod+F10 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option" bindsym $mod+F10 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option"
bindsym $mod+F11 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option 'caps:backspace'" bindsym $mod+F11 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option 'caps:backspace'"
bindsym $mod+F12 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option 'caps:escape'" bindsym $mod+F12 exec "setxkbmap -layout no -model pc105 -variant nodeadkeys -option 'caps:escape'"
bindsym $mod+F9 exec "xrandr --dpi 96 --output DP-4 --primary --output DP-0 --auto --rotate left --left-of DP-4"
bindsym $mod+Shift+F9 exec "xrandr --dpi 96 --output DP-4 --primary --output DP-2 --off --output DP-0 --off"
# Start Applications # Start Applications
bindsym $mod+Ctrl+b exec $term -e 'bmenu' bindsym $mod+Ctrl+b exec $term -e 'bmenu'
@@ -79,8 +68,8 @@ bindsym $mod+F3 exec thunar
bindsym $mod+Shift+F3 exec $term -e 'ranger' bindsym $mod+Shift+F3 exec $term -e 'ranger'
bindsym $mod+F4 exec $term -e 'mocp' bindsym $mod+F4 exec $term -e 'mocp'
bindsym $mod++Shift+F4 exec $term -e 'ncspot' bindsym $mod++Shift+F4 exec $term -e 'ncspot'
bindsym $mod+t exec --no-startup-id pkill picom bindsym $mod+Shift+t exec --no-startup-id pkill picom
bindsym $mod+Shift+t exec --no-startup-id picom -b bindsym $mod+t exec --no-startup-id picom -b
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'" bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
bindsym $mod+Shift+s --release exec --no-startup-id flameshot gui bindsym $mod+Shift+s --release exec --no-startup-id flameshot gui
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
@@ -91,29 +80,17 @@ bindsym $mod+j focus down
bindsym $mod+k focus up bindsym $mod+k focus up
bindsym $mod+l focus right bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window # move focused window
bindsym $mod+Shift+h move left bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right bindsym $mod+Shift+l move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# workspace back and forth (with/without active container) # workspace back and forth (with/without active container)
bindsym $mod+b workspace back_and_forth bindsym $mod+b workspace back_and_forth
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
# split orientation # split orientation
bindsym $mod+bar split h;exec notify-send 'tile horizontally'
bindsym $mod+minus split v;exec notify-send 'tile vertically'
bindsym $mod+q split toggle bindsym $mod+q split toggle
# toggle fullscreen mode for the focused container # toggle fullscreen mode for the focused container
@@ -131,21 +108,17 @@ bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
# toggle sticky # toggle sticky
bindsym $mod+Shift+s sticky toggle bindsym $mod+Shift+a sticky toggle
# focus the parent container # focus the parent container
bindsym $mod+a focus parent bindsym $mod+a focus parent
# move the currently focused window to the scratchpad # move the currently focused window to the scratchpad
# bindsym $mod+Shift+minus move scratchpad bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window. # Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them. # If there are multiple scratchpad windows, this command cycles through them.
# bindsym $mod+minus scratchpad show bindsym $mod+minus scratchpad show
#navigate workspaces next / previous
bindsym $mod+Ctrl+Right workspace next
bindsym $mod+Ctrl+Left workspace prev
# Workspace names # Workspace names
# to display names or symbols instead of plain workspace numbers you can use # to display names or symbols instead of plain workspace numbers you can use
@@ -278,21 +251,11 @@ mode "$mode_system" {
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym l resize shrink width 10 px or 10 ppt bindsym l resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt bindsym k resize grow height 10 px or 10 ppt
bindsym j resize shrink height 10 px or 10 ppt bindsym j resize shrink height 10 px or 10 ppt
bindsym h resize grow width 10 px or 10 ppt bindsym h resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# exit resize mode: Enter or Escape # exit resize mode: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
@@ -310,7 +273,7 @@ exec --no-startup-id xautolock -time 30 -locker blurlock
exec_always --no-startup-id sbxkb exec_always --no-startup-id sbxkb
#exec_always --no-startup-id ff-theme-util #exec_always --no-startup-id ff-theme-util
exec_always --no-startup-id fix_xcursor exec_always --no-startup-id fix_xcursor
exec --no-startup-id xrandr --dpi 96 --output $display2 --primary --output $display3 --auto --rotate left --right-of $display2 --output $display1 --auto --rotate left --left-of $display2 exec --no-startup-id xrandr --dpi 108 --output $display2 --primary --output $display3 --auto --rotate left --right-of $display2 --output $display1 --auto --rotate left --left-of $display2
exec_always for id in $(xinput list | grep "pointer" | cut -d '=' -f 2 | cut -f 1); do xinput --set-prop $id 'libinput Accel Profile Enabled' 0, 1; done exec_always for id in $(xinput list | grep "pointer" | cut -d '=' -f 2 | cut -f 1); do xinput --set-prop $id 'libinput Accel Profile Enabled' 0, 1; done
# HB STARTUP ADDITIONS # HB STARTUP ADDITIONS
@@ -320,17 +283,6 @@ exec --no-startup-id dropbox start &
exec --no-startup-id nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60 exec --no-startup-id nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60
# Color palette used for the terminal ( ~/.Xresources file ) # Color palette used for the terminal ( ~/.Xresources file )
# Colors are gathered based on the documentation:
# https://i3wm.org/docs/userguide.html#xresources
# Change the variable name at the place you want to match the color
# of your terminal like this:
# [example]
# If you want your bar to have the same background color as your
# terminal background change the line 362 from:
# background #14191D
# to:
# background $term_background
# Same logic applied to everything else.
set_from_resource $term_background background set_from_resource $term_background background
set_from_resource $term_foreground foreground set_from_resource $term_foreground foreground
set_from_resource $term_color0 color0 set_from_resource $term_color0 color0
@@ -361,7 +313,6 @@ bar {
tray_output primary tray_output primary
bindsym button4 nop bindsym button4 nop
bindsym button5 nop bindsym button5 nop
font xft:URWGothic-Book 12
strip_workspace_numbers yes strip_workspace_numbers yes
colors { colors {
+5 -5
View File
@@ -40,27 +40,27 @@ ethernet _first_ {
order += "disk /" order += "disk /"
disk "/" { disk "/" {
format = " /  %avail / %percentage_avail " format = " /  %total / %percentage_avail "
} }
order += "disk /mnt/Games/" order += "disk /mnt/Games/"
disk "/mnt/Games/" { disk "/mnt/Games/" {
format = " /mnt/Games/ %avail / %percentage_avail " format = " /mnt/Games/ %total / %percentage_avail "
} }
order += "disk /mnt/nuuetHDD/" order += "disk /mnt/nuuetHDD/"
disk "/mnt/nuuetHDD/" { disk "/mnt/nuuetHDD/" {
format = " /mnt/nuuetHDD/ ⛁ %avail / %percentage_avail " format = " /mnt/nuuetHDD/ ⛁ %total / %percentage_avail "
} }
order += "disk /mnt/OneDrive/" order += "disk /mnt/OneDrive/"
disk "/mnt/OneDrive/" { disk "/mnt/OneDrive/" {
format = " /mnt/OneDrive/ ⛁ %avail / %percentage_avail " format = " /mnt/OneDrive/ ⛁ %total / %percentage_avail "
} }
order += "disk /mnt/src/" order += "disk /mnt/src/"
disk "/mnt/src/" { disk "/mnt/src/" {
format = " /mnt/src/ ⛁ %avail / %percentage_avail " format = " /mnt/src/ ⛁ %total / %percentage_avail "
} }
# order += "battery 0" # order += "battery 0"
+6 -3
View File
@@ -4,15 +4,15 @@
* fonts * fonts
* `yay -S nerd-fonts-source-code-pro powerline-fonts-git libxft-bgra` * `yay -S nerd-fonts-source-code-pro powerline-fonts-git libxft-bgra`
* applications * applications
* `yay -S onedrive-abraunegg dropbox slack-desktop chromium zathura-pdf-mupdf trash-cli rofi redshift flameshot fish pavucontrol thunar` * `yay -S onedrive-abraunegg dropbox slack-desktop chromium zathura-pdf-mupdf trash-cli rofi redshift flameshot fish pavucontrol thunar drawio-desktop`
* gaming and media * gaming and media
+ `yay -S steam-manjaro vlc libmicrodns protobuf ncspot-git` + `yay -S steam-manjaro vlc libmicrodns protobuf ncspot-git mkchromecast`
* hardware * hardware
* `yay -S liquidctl glances pulseaudio-bluetooth asus-fan-control` * `yay -S liquidctl glances pulseaudio-bluetooth asus-fan-control`
# coding # coding
* `yay -S cuda nvidia-container-toolkit` * `yay -S cuda nvidia-container-toolkit`
`yay -S docker docker-compose dry-bin neovim tmux diff-so-fancy the_silver_searcher ripgrep bat npm nodejs yarn ninja ctags tig` `yay -S docker docker-compose dry-bin neovim tmux diff-so-fancy the_silver_searcher ripgrep bat npm nodejs yarn ninja ctags tig git-lfs`
* `git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm` * `git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm`
# python # python
@@ -32,6 +32,9 @@
* start onedrive `systemctl enable --user onedrive --now` * start onedrive `systemctl enable --user onedrive --now`
* ssd maintenance `sudo systemctl enable fstrim.timer --now` * ssd maintenance `sudo systemctl enable fstrim.timer --now`
* show log `journalctl --user-unit onedrive -f` * show log `journalctl --user-unit onedrive -f`
* nvim as default editor `xdg-mime default nvim.desktop application/octet-stream`
* change from alsa to pavu `install_pulse`
* manage `~/.config.mimeapps.list` associations
# OMF # OMF
* curl -L https://get.oh-my.fish | fish * curl -L https://get.oh-my.fish | fish
+31
View File
@@ -0,0 +1,31 @@
[Default Applications]
[Added Associations]
x-scheme-handler/msteams=teams.desktop;
x-scheme-handler/http=exo-web-browser.desktop;
x-scheme-handler/https=exo-web-browser.desktop;
x-scheme-handler/ftp=exo-web-browser.desktop;
x-scheme-handler/chrome=exo-web-browser.desktop;
x-scheme-handler/webcal=exo-web-browser.desktop
x-scheme-handler/mailto=exo-web-browser.desktop;
application/x-extension-htm=exo-web-browser.desktop;
application/x-extension-html=exo-web-browser.desktop;
application/x-extension-shtml=exo-web-browser.desktop;
application/x-extension-xhtml=exo-web-browser.desktop;
application/x-extension-xht=exo-web-browser.desktop;
application/xhtml+xml=exo-web-browser.desktop;
application/pdf=exo-web-browser.desktop;org.pwmt.zathura.desktop;
application/x-bittorrent=deluge.desktop;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=freeoffice-planmaker.desktop;
application/vnd.openxmlformats-officedocument.presentationml.presentation=freeoffice-presentations.desktop;
image/jpeg=viewnior.desktop;
image/png=viewnior.desktop;
image/svg+xml=viewnior.desktop;
message/rfc822=exo-web-browser.desktop;
text/csv=freeoffice-planmaker.desktop;
text/html=nvim.desktop;
text/plain=nvim.desktop;
text/markdown=nvim.desktop;markdown_previewer.desktop;
text/x-python=nvim.desktop;
application/xml=nvim.desktop;
application/octet-stream=nvim.desktop;
-1
View File
@@ -1,5 +1,4 @@
[core] [core]
autocrlf = input
filemode = false filemode = false
pager = diff-so-fancy | less --tabs=4 -RFX pager = diff-so-fancy | less --tabs=4 -RFX
autorcrlf = true autorcrlf = true