diff --git a/.config/i3/.config.swp b/.config/i3/.config.swp new file mode 100644 index 0000000..bf63d99 Binary files /dev/null and b/.config/i3/.config.swp differ diff --git a/.config/i3/config b/.config/i3/arch-config similarity index 100% rename from .config/i3/config rename to .config/i3/arch-config diff --git a/.config/i3/arch-mac-lappy-config b/.config/i3/arch-mac-lappy-config new file mode 100644 index 0000000..78529d5 --- /dev/null +++ b/.config/i3/arch-mac-lappy-config @@ -0,0 +1,262 @@ +# Please see http://i3wm.org/docs/userguide.html for a complete reference! + +set $mod Mod4 +set $alt Mod1 + +exec --no-startup-id nitrogen --restore ~/Wallpapers +# exec --no-startup-id compton -b +exec --no-startup-id nm-applet +exec --no-startup-id xss-lock -- i3lock-fancy +exec --no-startup-id xset r rate 250 25 +exec --no-startup-id xset b off +exec --no-startup-id setxkbmap -option caps:escape +exec --no-startup-id nightshift -l 39.0315533:-94.4954291 -d +#exec --no-startup-id setxkbmap -model apple_laptop -layout us -variant dvp + +font pango:FiraCode, FontAwesome 12 + +bindsym $mod+F7 exec --no-startup-id xset r rate 250 25 && xset b off && setxkbmap -option caps:escape + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec --no-startup-id termite + +# kill focused window +bindsym $mod+q kill + +# lock screen +bindsym $mod+$alt+s exec i3lock-fancy + +# start dmenu (a program launcher) +bindsym XF86LaunchA exec --no-startup-id rofi -show run +bindcode 225 exec --no-startup-id rofi -show run +bindsym $mod+F9 exec --no-startup-id rofi -show run +#bindsym $mod+space exec --no-startup-id rofi -fullscreen -show run +bindsym $mod+space exec --no-startup-id rofi -show run + +# screenshot +bindsym $mod+Shift+Control+4 exec --no-startup-id deepin-screenshot + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon 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 + +#change screen layout +bindsym $mod+Shift+m exec --no-startup-id /home/joshfabean/.screenlayout/work-2-monitors.sh +bindsym $mod+Shift+n exec --no-startup-id /home/joshfabean/.screenlayout/just-lappy.sh + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+d fullscreen +bindsym $mod+$alt+f fullscreen + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+t layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+$alt+space focus mode_toggle + +# focus the parent container +bindsym $mod+p focus parent + +# focus the child container +bindsym $mod+c focus child + +set $workSpace1 "1: " +set $workSpace2 "2: CK" +set $workSpace3 "3: " +set $workSpace4 "4: " + +# switch to workspace +bindsym $mod+1 workspace $workSpace1 +bindsym $mod+2 workspace $workSpace2 +bindsym $mod+3 workspace $workSpace3 +bindsym $mod+4 workspace $workSpace4 +bindsym $mod+5 workspace 5:  +bindsym $mod+6 workspace 6:  +bindsym $mod+7 workspace 7:  +bindsym $mod+8 workspace 8:  +bindsym $mod+9 workspace 9:  +bindsym $mod+0 workspace 10:  +bindsym Mod1+Control+Right workspace next +bindsym Mod1+Control+Left workspace prev +workspace_auto_back_and_forth yes +bindsym $mod+z workspace back_and_forth +bindsym $mod+Shift+z move container to workspace back_and_forth + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $workSpace1 +bindsym $mod+Shift+2 move container to workspace $workSpace2 +bindsym $mod+Shift+3 move container to workspace $workSpace3 +bindsym $mod+Shift+4 move container to workspace $workSpace4 +bindsym $mod+Shift+5 move container to workspace number 5:  +bindsym $mod+Shift+6 move container to workspace number 6:  +bindsym $mod+Shift+7 move container to workspace number 7:  +bindsym $mod+Shift+8 move container to workspace number 8:  +bindsym $mod+Shift+9 move container to workspace number 9:  +bindsym $mod+Shift+0 move container to workspace number 10:  + +#Custom Keybindings + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10% #-steps 1 +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10% #-steps 1 +bindsym $mod+w exec --no-startup-id google-chrome-beta +bindsym $mod+f exec --no-startup-id termite -e ranger +bindsym Print exec scrot -s -e 'mv $f ~/Downloads' +bindsym $mod+m move scratchpad +bindsym $mod+n scratchpad show + +#Make sure these windows behave as they should +for_window [class="Android SDK Manager" instance="Android SDK Manager"] floating enable + +for_window [class="Cb-exit" instance="cb-exit"] floating enable +for_window [class="Cb-exit" instance="cb-exit"] border none +for_window [class="^Pavucontrol$"] floating enable +for_window [instance="crx_gaedmjdfmmahhbjefcbgaolhhanlaolb"] floating enable +for_window [class="Google-chrome" instance="crx_nckgahadagoaajjgafhacjanaoiihapd"] floating enable +for_window [class="chrome_app_list"] floating enable +for_window [class="Plexamp"] floating enable + +# https://github.com/ValveSoftware/steam-for-linux/issues/1040 +for_window [class="^Steam$" title="^Friends$"] floating enable +for_window [class="^Steam$" title="Steam - News"] floating enable +for_window [class="^Steam$" title=".* - Chat"] floating enable +for_window [class="^Steam$" title="^Settings$"] floating enable +for_window [class="^Steam$" title=".* - event started"] floating enable +for_window [class="^Steam$" title=".* CD key"] floating enable +for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable +for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable +for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable +for_window [title="^Steam Keyboard$"] floating enable + + +assign [class="Slack"] $workSpace3 +assign [class="Plexamp"] $workSpace3 + +new_window 1pixel +#Hide border if 1 window +hide_edge_borders both +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon 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 + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + +bindsym $mod+r mode "resize" + +# Resize Containers, Vim-style ($mod+Control+[hjkl]) +bindsym $mod+Control+j resize grow height 5 px or 5 ppt +bindsym $mod+Control+k resize shrink height 5 px or 5 ppt +bindsym $mod+Control+l resize grow width 5 px or 5 ppt +bindsym $mod+Control+h resize shrink width 5 px or 5 ppt + +bindsym $mod+Control+Up resize grow height 5 px or 5 ppt +bindsym $mod+Control+Down resize shrink height 5 px or 5 ppt +bindsym $mod+Control+Right resize grow width 5 px or 5 ppt +bindsym $mod+Control+Left resize shrink width 5 px or 5 ppt + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +#bar { +# position top +# status_command i3blocks +# font pango:Liberation 10, FontAwesome 12 + # strip_workspace_numbers yes + +# colors { +# separator #586e75 +# background #0c1014 +# statusline #aea79f +# focused_workspace #091f2e #091f2e #ffffff +# active_workspace #073642 #073642 #ffffff +# inactive_workspace #0c1014 #0c1014 #aea79f +# urgent_workspace #77216f #77216f #ffffff +# } +#} + +# class border backgr. text indicator +client.focused #586e75 #586e75 #fdf6e3 #268bd2 +client.focused_inactive #073642 #073642 #93a1a1 #002b36 +client.unfocused #002b36 #002b36 #586e75 #002b36 +client.urgent #dc322f #dc322f #fdf6e3 #dc322f + + +bindsym Control+k exec --no-startup-id echo "core.weechat */buffer_dmenu" >> $(find ~/.weechat -type p) + + +# exec --no-startup-id xfce4-volumed-pulse +# exec --no-startup-id pasystray +exec --no-startup-id pcmanfm -d +# exec --no-startup-id rescuetime +exec --no-startup-id blueman-applet +exec --no-startup-id dunst + +bindsym XF86AudioLowerVolume exec --no-startup-id "pulseaudio-ctl down ; pkill -RTMIN+1 i3blocks" +bindsym XF86AudioRaiseVolume exec --no-startup-id "pulseaudio-ctl up ; pkill -RTMIN+1 i3blocks" +bindsym XF86AudioMute exec --no-startup-id "pulseaudio-ctl mute ; pkill -RTMIN+1 i3blocks" +# bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +# bindsym XF86AudioPause exec --no-startup-id playerctl play-pause +# bindsym XF86AudioPlayPause exec --no-startup-id playerctl play-pause +bindsym $mod1+Shift+p exec --no-startup-id echo "cycle pause" > ~/.config/mpv/control + +# Chrome special flags and others set in /etc/profiles.d/variables.sh like the following: --touch-devices=2 --force-device-scale-factor=2 +# +#exec --nostartup-id compton -b diff --git a/.config/i3/ubuntu-config b/.config/i3/ubuntu-config new file mode 100644 index 0000000..de65d98 --- /dev/null +++ b/.config/i3/ubuntu-config @@ -0,0 +1,263 @@ +# Please see http://i3wm.org/docs/userguide.html for a complete reference! +set $mod Mod4 +set $alt Mod1 + +exec --no-startup-id nitrogen --restore ~/Wallpapers +# exec --no-startup-id compton -b +exec --no-startup-id nm-applet +exec --no-startup-id xss-lock -- i3lock-fancy +exec --no-startup-id xset r rate 250 25 +exec --no-startup-id xset b off +exec --no-startup-id setxkbmap -option caps:escape +exec --no-startup-id nightshift -l 39.0315533:-94.4954291 -d +exec --no-startup-id synclient TapButton1=0 +exec --no-startup-id synclient TapButton2=0 +#exec --no-startup-id setxkbmap -model apple_laptop -layout us -variant dvp + +font pango:FiraCode, FontAwesome 12 + +bindsym $mod+F7 exec --no-startup-id xset r rate 250 25 && xset b off && setxkbmap -option caps:escape + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec --no-startup-id termite + +# kill focused window +bindsym $mod+q kill + +# lock screen +bindsym $mod+$alt+s exec i3lock-fancy + +# start dmenu (a program launcher) +bindsym XF86LaunchA exec --no-startup-id rofi -show run +bindcode 225 exec --no-startup-id rofi -show run +bindsym $mod+F9 exec --no-startup-id rofi -show run +#bindsym $mod+space exec --no-startup-id rofi -fullscreen -show run +bindsym $mod+space exec --no-startup-id rofi -show run + +# screenshot +bindsym $mod+Shift+Control+4 exec --no-startup-id deepin-screenshot + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon 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 + +#change screen layout +bindsym $mod+Shift+m exec --no-startup-id /home/joshfabean/.screenlayout/dual-screens.sh +bindsym $mod+Shift+n exec --no-startup-id /home/joshfabean/.screenlayout/single-screens.sh + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+d fullscreen +bindsym $mod+$alt+f fullscreen + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+t layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+$alt+space focus mode_toggle + +# focus the parent container +bindsym $mod+p focus parent + +# focus the child container +bindsym $mod+c focus child + +set $workSpace1 "1: " +set $workSpace2 "2: CK" +set $workSpace3 "3: " +set $workSpace4 "4: " + +# switch to workspace +bindsym $mod+1 workspace $workSpace1 +bindsym $mod+2 workspace $workSpace2 +bindsym $mod+3 workspace $workSpace3 +bindsym $mod+4 workspace $workSpace4 +bindsym $mod+5 workspace 5:  +bindsym $mod+6 workspace 6:  +bindsym $mod+7 workspace 7:  +bindsym $mod+8 workspace 8:  +bindsym $mod+9 workspace 9:  +bindsym $mod+0 workspace 10:  +bindsym Mod1+Control+Right workspace next +bindsym Mod1+Control+Left workspace prev +workspace_auto_back_and_forth yes +bindsym $mod+z workspace back_and_forth +bindsym $mod+Shift+z move container to workspace back_and_forth + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $workSpace1 +bindsym $mod+Shift+2 move container to workspace $workSpace2 +bindsym $mod+Shift+3 move container to workspace $workSpace3 +bindsym $mod+Shift+4 move container to workspace $workSpace4 +bindsym $mod+Shift+5 move container to workspace number 5:  +bindsym $mod+Shift+6 move container to workspace number 6:  +bindsym $mod+Shift+7 move container to workspace number 7:  +bindsym $mod+Shift+8 move container to workspace number 8:  +bindsym $mod+Shift+9 move container to workspace number 9:  +bindsym $mod+Shift+0 move container to workspace number 10:  + +#Custom Keybindings + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10% #-steps 1 +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10% #-steps 1 +bindsym $mod+w exec --no-startup-id google-chrome-beta +bindsym $mod+f exec --no-startup-id termite -e ranger +bindsym Print exec scrot -s -e 'mv $f ~/Downloads' +bindsym $mod+m move scratchpad +bindsym $mod+n scratchpad show + +#Make sure these windows behave as they should +for_window [class="Android SDK Manager" instance="Android SDK Manager"] floating enable + +for_window [class="Cb-exit" instance="cb-exit"] floating enable +for_window [class="Cb-exit" instance="cb-exit"] border none +for_window [class="^Pavucontrol$"] floating enable +for_window [instance="crx_gaedmjdfmmahhbjefcbgaolhhanlaolb"] floating enable +for_window [class="Google-chrome" instance="crx_nckgahadagoaajjgafhacjanaoiihapd"] floating enable +for_window [class="chrome_app_list"] floating enable +for_window [class="Plexamp"] floating enable + +# https://github.com/ValveSoftware/steam-for-linux/issues/1040 +for_window [class="^Steam$" title="^Friends$"] floating enable +for_window [class="^Steam$" title="Steam - News"] floating enable +for_window [class="^Steam$" title=".* - Chat"] floating enable +for_window [class="^Steam$" title="^Settings$"] floating enable +for_window [class="^Steam$" title=".* - event started"] floating enable +for_window [class="^Steam$" title=".* CD key"] floating enable +for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable +for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable +for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable +for_window [title="^Steam Keyboard$"] floating enable + + +assign [class="Slack"] $workSpace3 +assign [class="Plexamp"] $workSpace3 + +new_window 1pixel +#Hide border if 1 window +hide_edge_borders both +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon 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 + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + + +bindsym $mod+r mode "resize" + +# Resize Containers, Vim-style ($mod+Control+[hjkl]) +bindsym $mod+Control+j resize grow height 5 px or 5 ppt +bindsym $mod+Control+k resize shrink height 5 px or 5 ppt +bindsym $mod+Control+l resize grow width 5 px or 5 ppt +bindsym $mod+Control+h resize shrink width 5 px or 5 ppt + +bindsym $mod+Control+Up resize grow height 5 px or 5 ppt +bindsym $mod+Control+Down resize shrink height 5 px or 5 ppt +bindsym $mod+Control+Right resize grow width 5 px or 5 ppt +bindsym $mod+Control+Left resize shrink width 5 px or 5 ppt + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +#bar { +# position top +# status_command i3blocks +# font pango:Liberation 10, FontAwesome 12 + # strip_workspace_numbers yes + +# colors { +# separator #586e75 +# background #0c1014 +# statusline #aea79f +# focused_workspace #091f2e #091f2e #ffffff +# active_workspace #073642 #073642 #ffffff +# inactive_workspace #0c1014 #0c1014 #aea79f +# urgent_workspace #77216f #77216f #ffffff +# } +#} + +# class border backgr. text indicator +client.focused #586e75 #586e75 #fdf6e3 #268bd2 +client.focused_inactive #073642 #073642 #93a1a1 #002b36 +client.unfocused #002b36 #002b36 #586e75 #002b36 +client.urgent #dc322f #dc322f #fdf6e3 #dc322f + + +bindsym Control+k exec --no-startup-id echo "core.weechat */buffer_dmenu" >> $(find ~/.weechat -type p) + + +# exec --no-startup-id xfce4-volumed-pulse +# exec --no-startup-id pasystray +exec --no-startup-id pcmanfm -d +# exec --no-startup-id rescuetime +exec --no-startup-id blueman-applet +exec --no-startup-id dunst + +bindsym XF86AudioLowerVolume exec --no-startup-id "pulseaudio-ctl down ; pkill -RTMIN+1 i3blocks" +bindsym XF86AudioRaiseVolume exec --no-startup-id "pulseaudio-ctl up ; pkill -RTMIN+1 i3blocks" +bindsym XF86AudioMute exec --no-startup-id "pulseaudio-ctl mute ; pkill -RTMIN+1 i3blocks" +# bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +# bindsym XF86AudioPause exec --no-startup-id playerctl play-pause +# bindsym XF86AudioPlayPause exec --no-startup-id playerctl play-pause +bindsym $mod1+Shift+p exec --no-startup-id echo "cycle pause" > ~/.config/mpv/control + +# Chrome special flags and others set in /etc/profiles.d/variables.sh like the following: --touch-devices=2 --force-device-scale-factor=2 +# +#exec --nostartup-id compton -b diff --git a/.config/polybar/config b/.config/polybar/config index 2254e11..de1a7bc 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -1,4 +1,4 @@ -;===================================================== +===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar @@ -148,17 +148,11 @@ modules-right = xbacklight wlan cpu memory temperature battery volume date tray-position = right tray-padding = 0 -;wm-restack = i3 - -;override-redirect = true - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev - cursor-click = pointer cursor-scroll = ns-resize + [bar/dp2] monitor = ${env:MONITOR:DP-2} width = 100% @@ -253,6 +247,118 @@ tray-padding = 0 cursor-click = pointer cursor-scroll = ns-resize +; Ubuntu Configs +; +; +; + +[bar/ubuntudp0] +monitor = ${env:MONITOR:DisplayPort-0} +width = 100% +height = 20 +radius = 0 +fixed-center = false +background = ${colors.background} +foreground = ${colors.foreground} +line-size = 3 +line-color = #f00 +border-size = 0 +border-color = #000000 +padding-left = 0 +padding-right = 1 +module-margin-left = 1 +module-margin-right = 2 +font-0 = FiraCode:pixelsize=12;1 +font-1 = FontAwesome:pixelsize=12;2 +font-2 = "Wuncon Siji:pixelsize=12;1" +modules-left = i3 +modules-center = mpd +modules-right = xbacklight wlan cpu memory temperature battery volume date +tray-position = right +tray-padding = 0 +cursor-click = pointer +cursor-scroll = ns-resize + +[bar/ubuntudp1] +monitor = ${env:MONITOR:DisplayPort-1} +width = 100% +height = 20 +radius = 0 +fixed-center = false +background = ${colors.background} +foreground = ${colors.foreground} +line-size = 3 +line-color = #f00 +border-size = 0 +border-color = #000000 +padding-left = 0 +padding-right = 1 +module-margin-left = 1 +module-margin-right = 2 +font-0 = FiraCode:pixelsize=12;1 +font-1 = FontAwesome:pixelsize=12;2 +font-2 = "Wuncon Siji:pixelsize=12;1" +modules-left = i3 +modules-center = mpd +modules-right = xbacklight wlan cpu memory temperature battery volume date +tray-position = right +tray-padding = 0 +cursor-click = pointer + +[bar/ubuntuedpmulti] +monitor = ${env:MONITOR:eDP} +width = 100% +height = 30 +radius = 0 +fixed-center = false +background = ${colors.background} +foreground = ${colors.foreground} +line-size = 3 +line-color = #f00 +border-size = 0 +border-color = #000000 +padding-left = 0 +padding-right = 1 +module-margin-left = 1 +module-margin-right = 2 +font-0 = FiraCode:pixelsize=15;1 +font-1 = FontAwesome:pixelsize=15;2 +font-2 = "Wuncon Siji:pixelsize=15;1" +modules-left = i3 +modules-center = +modules-right = +tray-position = right +tray-padding = 0 +cursor-click = pointer +cursor-scroll = ns-resize + +[bar/ubuntuedpsingle] +monitor = ${env:MONITOR:eDP} +width = 100% +height = 30 +radius = 0 +fixed-center = false +background = ${colors.background} +foreground = ${colors.foreground} +line-size = 3 +line-color = #f00 +border-size = 0 +border-color = #000000 +padding-left = 0 +padding-right = 1 +module-margin-left = 1 +module-margin-right = 2 +font-0 = FiraCode:pixelsize=15;1 +font-1 = FontAwesome:pixelsize=15;2 +font-2 = "Siji:pixelsize=15;1" +modules-left = i3 +modules-center = mpd +modules-right = xbacklight wlan cpu memory temperature battery volume date +tray-position = right +tray-padding = 0 +cursor-click = pointer + + [module/xwindow] type = internal/xwindow @@ -410,7 +516,7 @@ format-disconnected = type = internal/date interval = 5 -date = +date = " %Y-%m-%d" date-alt = " %Y-%m-%d" time = %H:%M @@ -497,35 +603,6 @@ ramp-1 =  ramp-2 =  ramp-foreground = ${colors.foreground-alt} -[module/powermenu] -type = custom/menu - -expand-right = true - -format-spacing = 1 - -label-open =  -label-open-foreground = ${colors.secondary} -label-close =  cancel -label-close-foreground = ${colors.secondary} -label-separator = | -label-separator-foreground = ${colors.foreground-alt} - -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = power off -menu-0-1-exec = menu-open-2 - -menu-1-0 = cancel -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = sudo reboot - -menu-2-0 = power off -menu-2-0-exec = sudo poweroff -menu-2-1 = cancel -menu-2-1-exec = menu-open-0 - [settings] screenchange-reload = true ;compositing-background = xor diff --git a/.config/polybar/ubuntu-multi.sh b/.config/polybar/ubuntu-multi.sh new file mode 100755 index 0000000..a882aef --- /dev/null +++ b/.config/polybar/ubuntu-multi.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env sh + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done + +# Launch bar1 and bar2 +polybar ubuntudp0 & +polybar ubuntudp1 & +polybar ubuntuedpmulti & + + +echo "Bars launched..." diff --git a/.config/polybar/ubuntu-single.sh b/.config/polybar/ubuntu-single.sh new file mode 100755 index 0000000..5679212 --- /dev/null +++ b/.config/polybar/ubuntu-single.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env sh + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done + +# Launch bar1 and bar2 +polybar ubuntuedpsingle & + + +echo "Bars launched..." diff --git a/.config/termite/config b/.config/termite/config index d241b1d..1657963 100644 --- a/.config/termite/config +++ b/.config/termite/config @@ -1,3 +1,3 @@ [options] -font = LiterationMono Nerd Font Mono +font = FiraCode