diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-01-23 11:13:18 +0100 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-01-23 11:13:18 +0100 |
commit | 72efe134f645a5212f875c153dd8db4a64cbe968 (patch) | |
tree | d23229285071bf381515657b94919852ebf426c9 /Common/i3/config | |
parent | e33d5f8d10d34e5a3a4bb292015961dd574f4c93 (diff) | |
download | dotfiles-72efe134f645a5212f875c153dd8db4a64cbe968.tar.gz dotfiles-72efe134f645a5212f875c153dd8db4a64cbe968.zip |
changes
Diffstat (limited to 'Common/i3/config')
-rwxr-xr-x | Common/i3/config/compton.conf | 59 | ||||
-rwxr-xr-x | Common/i3/config/dunst/dunstrc | 52 | ||||
-rw-r--r-- | Common/i3/config/i3/config | 200 | ||||
-rw-r--r-- | Common/i3/config/i3status/config | 74 |
4 files changed, 0 insertions, 385 deletions
diff --git a/Common/i3/config/compton.conf b/Common/i3/config/compton.conf deleted file mode 100755 index 1062499..0000000 --- a/Common/i3/config/compton.conf +++ /dev/null @@ -1,59 +0,0 @@ -## shadow -#shadow = true; -#no-dnd-shadow = true; -#no-dock-shadow = true; -#clear-shadow = true; -#shadow-radius = 12; -#shadow-offset-x = -12; -#shadow-offset-y = -12; -#shadow-opacity = 0.95; -#shadow-red = 0.18; -#shadow-green = 0.20; -#shadow-blue = 0.25; -#shadow-exclude = [ "class_g = 'Cairo-clock'" , -# "class_g = 'CoverGloobus'", -# "class_g = 'Tilda'", -# "class_g = 'Conky'", -# "class_g ?= 'Notify-osd'", -# "class_g = 'Firefox'", -# "class_g = 'Firefox-esr'", -# "class_g = 'Dmenu'", -# "name = 'Notification'", -# "_GTK_FRAME_EXTENTS@:c" -#]; - -## fading -#fading = true; -#fade-delta = 0.25; -#fade-in-step = 0.02; -#fade-out-step = 0.02; -#fade-exclude = [ -#]; - -## other -#backend = "xrender"; -backend = "glx"; -vsync = "opengl-swc"; -glx-no-stencil = true; -mark-wmwin-focused = true; -mark-ovredir-focused = true; -detect-rounded-corners = true; -#detect-client-opacity = true; -refresh-rate = 0; -dbe = false; -paint-on-overlay = true; -#focus-exclude = [ "class_g = 'Cairo-clock'" , -# "class_g = 'CoverGloobus'", -# "class_g = 'Tilda'", -# "class_g = 'Firefox'", -# "class_g = 'Firefox-esr'" -#]; -#detect-transient = true; -#detect-client-leader = true; -#invert-color-include = [ ]; -#glx-copy-from-front = false; -#glx-swap-method = "undefined"; -#wintypes: -#{ -# tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; -#}; diff --git a/Common/i3/config/dunst/dunstrc b/Common/i3/config/dunst/dunstrc deleted file mode 100755 index 5df67b7..0000000 --- a/Common/i3/config/dunst/dunstrc +++ /dev/null @@ -1,52 +0,0 @@ -[global] -monitor = 0 -follow = mouse -geometry = "250x50-24+24" -indicate_hidden = yes -shrink = no -separator_height = 0 -padding = 16 -horizontal_padding = 24 -frame_width = 2 -sort = no -idle_threshold = 120 -font = Noto Sans 8 -line_height = 4 -markup = full -format = "<b>%s</b>\n%b" -alignment = left -show_age_threshold = 60 -word_wrap = yes -ignore_newline = no -stack_duplicates = false -hide_duplicate_count = yes -show_indicators = no -icon_position = off -sticky_history = yes -history_length = 20 -browser = /usr/bin/firefox -new-tab -always_run_script = true -title = Dunst -class = Dunst - -[shortcuts] -close = ctrl+space -close_all = ctrl+shift+space -history = ctrl+grave -context = ctrl+shift+period - -[urgency_low] -background = "#2f343f" -foreground = "#d8dee8" -timeout = 2 - -[urgency_normal] -background = "#2f343f" -foreground = "#d8dee8" -timeout = 4 - -[urgency_critical] -background = "#2f343f" -foreground = "#d8dee8" -frame_color = "#bf616a" -timeout = 0 diff --git a/Common/i3/config/i3/config b/Common/i3/config/i3/config deleted file mode 100644 index a2b7df6..0000000 --- a/Common/i3/config/i3/config +++ /dev/null @@ -1,200 +0,0 @@ -# set modifier -set $super Mod4 -set $alt Mod1 - -# set font -font pango: Noto Sans 8 - -# Use Mouse+$super to drag floating windows to their wanted position -floating_modifier $super - -#autostart -#exec --no-startup-id hsetroot -center ~/.wallpaper.png -#exec --no-startup-id feh --bg-scale ~/.wallpaper.png -exec --no-startup-id wallpaper.sh -exec --no-startup-id compton --xrender-sync-fence --xrender-sync -b -exec --no-startup-id /usr/lib/gsd-xsettings -exec_always --no-startup-id gnome-power-manager -exec --no-startup-id gnome-flashback - -exec --no-startup-id "~/.config/umon/wallpaper.sh" - -# Tru to run autosetup of displays -exec --no-startup-id xrandr --auto -# Start umonitor daemon -#exec --no-startup-id umonitor --listen - - -# Start nm-applet for network things :) -exec --no-startup-id nm-applet -exec --no-startup-id blueman-applet -exec --no-startup-id i3-battery-popup -n -exec --no-startup-id deadd-notification-center - -# start a terminal -bindsym $super+Return exec urxvt -bindsym $super+Alt+Return exec urxvt --name floating -e noemutt - -# Shortcut to tt gui -bindsym $super+Shift+Return exec /home/jakob/.local/bin/tt-g - -# start dmenu (a program launcher) -bindsym $super+Shift+d exec i3-dmenu-desktop --dmenu="dmenu -i -fn 'Noto Sans:size=8'" -bindsym $super+d exec rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 8' - -# change volume -bindsym XF86AudioRaiseVolume exec amixer -q set Master 2%+ -bindsym XF86AudioLowerVolume exec amixer -q set Master 2%- -bindsym XF86AudioMute exec amixer set Master toggle -bindsym XF86AudioMicMute exec amixer set Capture toggle - -# music control -#bindsym XF86AudioNext exec mpc next -#bindsym XF86AudioPrev exec mpc prev -#bindsym XF86AudioPlay exec mpc toggle -#bindsym XF86AudioStop exec mpc stop - -# kill focused window -bindsym $alt+F4 kill - -# change focus -bindsym $super+Left focus left -bindsym $super+Down focus down -bindsym $super+Up focus up -bindsym $super+Right focus right -focus_follows_mouse no - -# move focused window -bindsym $super+Shift+Left move left -bindsym $super+Shift+Down move down -bindsym $super+Shift+Up move up -bindsym $super+Shift+Right move right - -# split in horizontal orientation -bindsym $super+h split h - -# split in vertical orientation -bindsym $super+v split v - -# enter fullscreen mode for the focused container -bindsym $super+f fullscreen toggle - -# change container layout split -bindsym $super+s layout toggle split - -# toggle tiling / floating -bindsym $super+space floating toggle - -# change focus between tiling / floating windows -bindsym $super+Shift+space focus mode_toggle - -# switch to workspace -bindsym $alt+Control+Right workspace next -bindsym $alt+Control+Left workspace prev -bindsym $super+1 workspace 1 -bindsym $super+2 workspace 2 -bindsym $super+3 workspace 3 -bindsym $super+4 workspace 4 -bindsym $super+5 workspace 5 -bindsym $super+6 workspace 6 -bindsym $super+7 workspace 7 -bindsym $super+8 workspace 8 -bindsym $super+9 workspace 9 - -# move focused container to workspace -bindsym $super+Shift+1 move container to workspace 1 -bindsym $super+Shift+2 move container to workspace 2 -bindsym $super+Shift+3 move container to workspace 3 -bindsym $super+Shift+4 move container to workspace 4 -bindsym $super+Shift+5 move container to workspace 5 -bindsym $super+Shift+6 move container to workspace 6 -bindsym $super+Shift+7 move container to workspace 7 -bindsym $super+Shift+8 move container to workspace 8 -bindsym $super+Shift+9 move container to workspace 9 - -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $super+Shift+r restart - -# exit i3 -#bindsym $super+l exec i3lock -f -c 63bfb6 #-i /home/jakob/.lockscreen.png -bindsym $super+l exec dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock -bindsym $super+Shift+e exec "i3-nagbar -t warning -m 'Really, exit?' -b 'Yes' 'i3-msg exit'" -bindsym $super+p exec --no-startup-id /home/jakob/.config/rofi/bin/applet_powermenu - -# resize window (you can also use the mouse for that) -mode "resize" { - bindsym Left resize shrink width 5 px or 5 ppt - bindsym Down resize grow height 5 px or 5 ppt - bindsym Up resize shrink height 5 px or 5 ppt - bindsym Right resize grow width 5 px or 5 ppt - bindsym Return mode "default" -} -bindsym $super+r mode "resize" - -# Colors -set $blue #1b1e26 -set $yellow #f0d48b -set $grey #b0b287 -set $green #789073 - -# panel -bar { - colors { - #background #2f343f - statusline #2f343f - separator #4b5262 - - background $blue - #statusline $yellow - #separator $green - - # colour of border, background, and text - #focused_workspace #2f343f #bf616a #d8dee8 - #active_workspace #2f343f #2f343f #d8dee8 - #inactive_workspace #2f343f #2f343f #d8dee8 - #urgent_workspacei #2f343f #ebcb8b #2f343f - focused_workspace $blue $blue $yellow - active_workspace $blue $blue $yellow - inactive_workspace $blue $blue $green - urgent_workspacei $blue $blue $grey - } - status_command i3status -} - -# window rules, you can find the window class using xprop -for_window [class="^.*"] border pixel 2 -for_window [class=Viewnior|feh|Audacious|File-roller|Lxappearance|Lxtask|Pavucontrol|Arandr|Nitrogen|Nautilus|Eog|gnome-calculator|Thunar|gnome-system-monitor] floating enable -for_window [class=URxvt|Firefox|Geany|Evince|Soffice|libreoffice*|mpv|Ghb|Xfburn|Gimp*|Inkscape|Vlc|Lxappearance|Audacity|Nautilus|Eog|gnome-calculator|Thunar] focus -for_window [class=Xfburn|GParted|System-config-printer.py|Lxtask|Pavucontrol|Exo-helper*|Lxrandr|Arandr|Nitrogen] focus -for_window [ instance="floating" ] floating enable - -# colour of border, background, text, indicator, and child_border -#client.focused #bf616a #2f343f3 #d8dee8 #bf616a #d8dee8 -#client.focused_inactive #2f343f #2f343f #d8dee8 #2f343f #2f343f -#client.unfocused #2f343f #2f343f #d8dee8 #2f343f #2f343f -#client.urgent #2f343f #2f343f #d8dee8 #2f343f #2f343f -#client.placeholder #2f343f #2f343f #d8dee8 #2f343f #2f343f -#client.background #2f343f -client.focused #d1ae54 $blue $yellow $yellow #d1ae54 -client.focused_inactive #d1ae54 $blue $grey $yellow $yellow -client.unfocused $yellow $blue $grey $yellow $yellow -client.urgent $yellow $blue $yellow $yellow $yellow -client.placeholder $yellow $blue $yellow $yellow $yellow -client.background $blue - -# i3-gaps -gaps inner 7 - -# Keybinds for lenovo x1 carbon -bindsym XF86MonBrightnessUp exec --no-startup-id "/home/jakob/bin/brightness-popup.sh inc" -bindsym XF86MonBrightnessDown exec --no-startup-id "/home/jakob/bin/brightness-popup.sh dec" - -bindsym XF86Display exec --no-startup-id "arandr" -bindsym Print exec --no-startup-id "gnome-screenshot --interactive" -bindsym XF86Favorites exec --no-startup-id "kill -s USR1 $(pidof deadd-notification-center)" - -# Keybinds for switching keyboard layout -#bindsym $super+Shift+F1 exec setxkbmap -layout no; notify-send.py "Keyboard layout NO" -#bindsym $super+Shift+F2 exec setxkbmap -layout gb; notify-send.py "Keyboard layout EN" -bindsym $super+Shift+F1 exec "/home/jakob/bin/kblayout.sh no" -bindsym $super+Shift+F2 exec "/home/jakob/bin/kblayout.sh us" diff --git a/Common/i3/config/i3status/config b/Common/i3/config/i3status/config deleted file mode 100644 index b129807..0000000 --- a/Common/i3/config/i3status/config +++ /dev/null @@ -1,74 +0,0 @@ -general { - output_format = "i3bar" - colors = false - markup = pango - interval = 5 - color_good = '#2f343f' - color_degraded = '#ebcb8b' - color_bad = '#ba5e57' -} - -order += "load" -order += "cpu_temperature 0" -#order += "disk /" -#order += "disk /home" -#order += "ethernet enp1s0" -order += "wireless wlp0s20f3" -order += "volume master" -order += "battery 0" -order += "tztime local" - -load { - format = "<span background='#f59335'> %5min Load </span>" -} - -cpu_temperature 0 { - format = "<span background='#bf616a'> %degrees °C </span>" - path = "/sys/class/thermal/thermal_zone0/temp" -} - -disk "/" { - format = "<span background='#fec7cd'> %free Free </span>" -} - -disk "/home" { - format = "<span background='#a1d569'> %free Free </span>" -} - -ethernet enp1s0 { - format_up = "<span background='#88c0d0'> %ip </span>" - format_down = "<span background='#88c0d0'> Disconnected </span>" -} - -wireless wlp0s20f3 { - format_up = "<span background='#b48ead'> %essid </span>" - format_down = "<span background='#b48ead'> Disconnected </span>" -} - -volume master { - format = "<span background='#ebcb8b'> %volume </span>" - format_muted = "<span background='#ebcb8b'> Muted </span>" - device = "default" - mixer = "Master" - mixer_idx = 0 -} - -battery 0 { - last_full_capacity = true - format = "<span background='#a3be8c'> %status %percentage </span>" - format_down = "No Battery" - status_chr = "Charging" - status_bat = "Battery" - status_unk = "Unknown" - status_full = "Charged" - path = "/sys/class/power_supply/BAT%d/uevent" - low_threshold = 10 - #on_click 1 = "exec --no-startup-id ~/.config/rofi/bin/applet_battery" -} - -tztime local { - #format = "<span background='#81a1c1'> %time </span>" - #format_time = " %a %-d %b %H:%M" - format = "<span background='#81a1c1'> %a %-d %b %H:%M </span>" -} - |