diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-21 15:11:52 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-21 15:11:52 +0100 |
commit | 6e19c523706837d37dd3d163fe7cc12cfdb81058 (patch) | |
tree | 90c38fcb95d4ea89a95424aba970a194bda15323 /root/.config/i3 | |
parent | x+binpkg (diff) | |
download | n-6e19c523706837d37dd3d163fe7cc12cfdb81058.tar n-6e19c523706837d37dd3d163fe7cc12cfdb81058.tar.gz n-6e19c523706837d37dd3d163fe7cc12cfdb81058.tar.bz2 n-6e19c523706837d37dd3d163fe7cc12cfdb81058.tar.lz n-6e19c523706837d37dd3d163fe7cc12cfdb81058.tar.xz n-6e19c523706837d37dd3d163fe7cc12cfdb81058.tar.zst n-6e19c523706837d37dd3d163fe7cc12cfdb81058.zip |
Diffstat (limited to 'root/.config/i3')
-rw-r--r-- | root/.config/i3/config | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/root/.config/i3/config b/root/.config/i3/config new file mode 100644 index 0000000..d936695 --- /dev/null +++ b/root/.config/i3/config @@ -0,0 +1,193 @@ +# Please see https://i3wm.org/docs/userguide.html for a complete reference! +# set $mod Mod1 # alt +set $mod Mod4 +# super +# set $mod Mod3 +# capslock after modify with ~/.Xmodmap +# set $mod Control_R +font pango:terminus 12 +# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# The font above is very space-efficient, that is, it looks good, sharp and +# clear in small sizes. However, its unicode glyph coverage is limited. + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod +bindsym $mod+Return exec xterm +# bindsym $mod+q kill +bindsym $mod+Shift+q kill +bindsym $mod+d exec dmenu_run -f -fn terminus +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu "dmenu -i -fn terminus" +# bindsym $mod+Shift+zcaron exec /home/a/.screenlayout/fix-discord.sh +bindsym $mod+ccaron focus left +bindsym $mod+cacute focus down +bindsym $mod+scaron focus up +bindsym $mod+zcaron focus right +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right +bindsym $mod+Shift+ccaron move left +bindsym $mod+Shift+cacute move down +bindsym $mod+Shift+scaron move up +bindsym $mod+Shift+zcaron 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 +bindsym $mod+h split h +bindsym $mod+g split v +bindsym $mod+f fullscreen toggle +bindsym $mod+period layout tabbed +bindsym $mod+minus layout toggle split +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle +bindsym $mod+a focus parent +bindsym $mod+s focus child +workspace $ws1 output LVDS1 +workspace $ws2 output LVDS1 +workspace $ws3 output LVDS1 +workspace $ws4 output LVDS1 +workspace $ws5 output LVDS1 +workspace $ws6 output LVDS1 +workspace $ws7 output LVDS1 +workspace $ws8 output LVDS1 +workspace $ws9 output LVDS1 +workspace $ws10 output LVDS1 +workspace $wsf1 output VGA1 +workspace $wsf2 output VGA1 +workspace $wsf3 output VGA1 +workspace $wsf4 output VGA1 +workspace $wsf5 output VGA1 +workspace $wsf6 output VGA1 +workspace $wsf7 output VGA1 +workspace $wsf8 output VGA1 +workspace $wsf9 output VGA1 +workspace $wsf10 output VGA1 +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" +set $wsf1 "f1" +set $wsf2 "f2" +set $wsf3 "f3" +set $wsf4 "f4" +set $wsf5 "f5" +set $wsf6 "f6" +set $wsf7 "f7" +set $wsf8 "f8" +set $wsf9 "f9" +set $wsf10 "f10" +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 +bindsym $mod+F1 workspace $wsf1 +bindsym $mod+F2 workspace $wsf2 +bindsym $mod+F3 workspace $wsf3 +bindsym $mod+F4 workspace $wsf4 +bindsym $mod+F5 workspace $wsf5 +bindsym $mod+F6 workspace $wsf6 +bindsym $mod+F7 workspace $wsf7 +bindsym $mod+F8 workspace $wsf8 +bindsym $mod+F9 workspace $wsf9 +bindsym $mod+F0 workspace $wsf10 +bindsym $mod+Shift+F1 move container to workspace $wsf1 +bindsym $mod+Shift+F2 move container to workspace $wsf2 +bindsym $mod+Shift+F3 move container to workspace $wsf3 +bindsym $mod+Shift+F4 move container to workspace $wsf4 +bindsym $mod+Shift+F5 move container to workspace $wsf5 +bindsym $mod+Shift+F6 move container to workspace $wsf6 +bindsym $mod+Shift+F7 move container to workspace $wsf7 +bindsym $mod+Shift+F8 move container to workspace $wsf8 +bindsym $mod+Shift+F9 move container to workspace $wsf9 +bindsym $mod+Shift+F0 move container to workspace $wsf10 +# bindsym F4 workspace next_on_output +# bindsym F7 focus output right +bindsym $mod+Shift+r restart +bindsym $mod+Shift+e exec i3-msg exit +# resize window (you can also use the mouse for that) +mode "resize" { + bindsym ccaron resize shrink width 1 px or 1 ppt + bindsym scaron resize grow height 1 px or 1 ppt + bindsym cacute resize shrink height 1 px or 1 ppt + bindsym zcaron resize grow width 1 px or 1 ppt + 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 Escape mode "default" + bindsym $mod+r mode "default" +} +bindsym $mod+r mode "resize" +bar { + status_command i3status +# colors { +# background #ffffff +# statusline #000000 +# focused_workspace #ff0000 #ababab #000000 +# active_workspace #00ff00 #ff0000 #ff0000 +# inactive_workspace #ababab #ffffff #000000 +# urgent_workspace #d33682 #d33682 #fdf6e3 +# } +} +bindsym XF86AudioRaiseVolume exec amixer -q set Master 2%+ unmute +bindsym XF86AudioLowerVolume exec amixer -q set Master 2%- unmute +bindsym XF86AudioMute exec amixer -q set Master toggle +# bindsym F12 exec /home/a/v +# bindsym F11 exec /home/a/v off +# bindsym F10 mode "mod/" +# bindsym F9 exec /home/a/projects/find-cursor/find-cursor -c red -s 750 -w 75 -f -O yellow -o 10 +# bindsym F8 exec /home/a/.screenlayout/alko.sh # this is retarded +# bindsym F7 exec xrandr --output LVDS1 --mode 1280x800 +# brightness - ne dela +bindsym XF86MonBrightnessDown exec dc -e "`cat /sys/class/backlight/acpi_video0/brightness` 1-p" > /sys/class/backlight/acpi_video0/brightness +bindsym XF86MonBrightnessUp exec dc -e "`cat /sys/class/backlight/acpi_video0/brightness` 1+p" > /sys/class/backlight/acpi_video0/brightness +#interactive screenshot by pressing printscreen +#bindsym $mod+Print exec scrot -s -q 100 -e 'mv $f ~/Pictures/screenshots/' +#crop-area screenshot by pressing Mod + printscreen +# bindsym $mod+Print exec import -window root /root/pict/screenshots/`date --iso-8601=seconds`.png +bindsym Print exec gnome-screenshot -i +# ni naslovov oken +new_window 1pixel + +# fokusi +bindsym $mod+less [title="@of"] focus +bindsym $mod+y [title="tranzistor"] focus +bindsym $mod+x [title="dino"] focus +bindsym $mod+c [title="cargova"] focus +bindsym $mod+v [title="VIM"] focus +bindsym $mod+b [title="rowser"] focus +bindsym $mod+n [title="/projects"] focus +bindsym $mod+m [title="laws"] focus + +# barve border background text indicator child_border +client.focused #ee3333 #000000 #ffffff #33ee33 #ee3333 + +# marke +bindsym $mod+dstroke mark sex +bindsym $mod+p [con_mark="sex"] focus |