mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-08-09 10:59:16 +02:00
Merge pull request #3 from Mastermindzh/experiment/polybar
Experiment/polybar
This commit is contained in:
27
i3/config
27
i3/config
@@ -61,6 +61,11 @@ bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# move focused workspace
|
||||
|
||||
bindsym $mod+Ctrl+Right move workspace to output right
|
||||
bindsym $mod+Ctrl+Left move workspace to output left
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+h split h
|
||||
|
||||
@@ -123,7 +128,7 @@ mode "resize" {
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Lock the computer
|
||||
bindsym $mod+l exec /bin/bash ~/.config/i3/scripts/i3lock.sh
|
||||
bindsym $mod+l exec /bin/bash ~/.config/i3/scripts/lock.sh
|
||||
|
||||
# Suspend the computer
|
||||
bindsym $mod+shift+l exec /bin/bash ~/.config/i3/scripts/suspend.sh
|
||||
@@ -132,13 +137,14 @@ bindsym $mod+shift+l exec /bin/bash ~/.config/i3/scripts/suspend.sh
|
||||
# Application Keys #
|
||||
############################################
|
||||
bindsym $mod+Return exec xfce4-terminal # terminal
|
||||
bindsym $mod+shift+Return exec xfce4-terminal --drop-down # terminal
|
||||
bindsym $mod+e exec thunar # File manager
|
||||
bindsym $mod+shift+Return exec xfce4-terminal --drop-down # terminal
|
||||
bindsym $mod+e exec thunar # File manager
|
||||
bindsym Print exec flameshot screen -d 0 -p ~/Pictures/Screenshots # Fullscreen screenshot
|
||||
bindsym $mod+Print exec flameshot gui # Show screenshot window
|
||||
bindsym $mod+shift+Print exec flameshot launcher # Show settings window (delay) then show screenshot window
|
||||
bindsym $mod+shift+b exec /bin/bash ~/.config/i3/scripts/brightness.sh
|
||||
bindsym control+shift+Escape exec sysmontask
|
||||
bindsym $mod+Print exec flameshot gui # Show screenshot window
|
||||
bindsym $mod+shift+Print exec flameshot launcher # Show settings window (delay) then show screenshot window
|
||||
bindsym $mod+shift+b exec /bin/bash ~/.config/i3/scripts/brightness.sh # set brightness
|
||||
bindsym control+shift+Escape exec sysmontask # system monitor
|
||||
bindsym $mod+BackSpace exec autorandr --change undocked # reset to laptop view
|
||||
|
||||
# Rofi
|
||||
bindsym $mod+d exec "rofi -show run -show-icons"
|
||||
@@ -254,7 +260,8 @@ assign [class="VirtualBox Machine"] $workspace11
|
||||
# database stuff
|
||||
assign [class="MongoDB Compass"] $workspace8
|
||||
assign [class="robo3t"] $workspace8
|
||||
assign [class="Brave-browser"] $workspace7
|
||||
assign [class="Brave-browser"] $workspace9
|
||||
assign [class="obsidian"] $workspace7
|
||||
assign [class="Mysql-workbench-bin"] $workspace8
|
||||
assign [class="azuredatastudio"] $workspace8
|
||||
assign [class="beekeeper"] $workspace8
|
||||
@@ -326,12 +333,12 @@ mode "$mode_gaps_outer" {
|
||||
# exec_always --no-startup-id picom -b
|
||||
exec_always feh --bg-scale $(find ~/Pictures/wallpapers/ -type f -name "*" | shuf -n 1)
|
||||
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||
exec_always --no-startup-id "autorandr --change"
|
||||
exec --no-startup-id i3-msg 'workspace $workspace2; exec xfce4-terminal' && i3-msg 'workspace $workspace1'
|
||||
exec --no-startup-id i3-msg 'workspace $workspace12; exec bitwarden-desktop'
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id blueman-applet
|
||||
exec /usr/bin/compton
|
||||
exec /bin/bash ~/.config/i3/scripts/startup.sh
|
||||
exec --no-startup-id greenclip daemon
|
||||
exec --no-startup-id seafile-applet
|
||||
exec --no-startup-id obsidian
|
||||
|
@@ -22,7 +22,7 @@ else
|
||||
i3lock -n -f -i "$tmpbg"
|
||||
|
||||
# if tidal was playing before we locked, resume.
|
||||
if [ $isPlaying == "playing" ]; then
|
||||
if [ "$isPlaying" == "playing" ]; then
|
||||
~/.config/i3/scripts/tidal-cli.sh play
|
||||
fi
|
||||
rm -rf $tmpbg
|
Reference in New Issue
Block a user