DE improvements

This commit is contained in:
eneller
2023-03-01 09:33:40 +01:00
parent 701377dad1
commit cff2543c50
5 changed files with 65 additions and 73 deletions

46
.config/i3/conf.d/theme Normal file
View File

@@ -0,0 +1,46 @@
# vim: filetype=i3config
font pango:Sans Regular 12
# THEME, should use same colors as .profile
set $black #272822
set $white #FFFFFF
set $red #F92672
set $blue #66D9EF
set $green #A6E22E
set $orange #FD971F
set $yellow #E6DB74
set $purple #AE81FF
set $allblack #000000
# class border bg. text indicator child_border
client.focused $blue $black $blue $blue $blue
client.focused_inactive $black $black $blue $black $black
client.unfocused $black $black $white $black $black
client.background $black
bar {
i3bar_command i3bar
status_command i3status
#--config $XDG_CONFIG_HOME/i3/i3status.conf
mode dock
position top
#tray_output primary
# font xft:Jetbrains mono 20
strip_workspace_numbers yes
workspace_buttons yes
colors {
background #000000
#statusline #F9FAF9
#separator #454947
# border bg text
focused_workspace $allblack $blue $allblack
#active_workspace #FFFFFF $black #FFFFFF
#inactive_workspace #FFFFFF $black #FFFFFF
#binding_mode #16a085 #2C2C2C #F9FAF9
urgent_workspace $red $black $red
}
}

View File

@@ -1,4 +1,5 @@
# vim: filetype=i3config # vim: filetype=i3config
include ~/.config/i3/conf.d/*
# this config is based on github.com:LukeSmithxyz/voidrice 884dcbdc4792eed95e558af84491eb3100d314a2 # this config is based on github.com:LukeSmithxyz/voidrice 884dcbdc4792eed95e558af84491eb3100d314a2
# to immediately apply a new config, run `i3-msg reload; i3-msg restart` # to immediately apply a new config, run `i3-msg reload; i3-msg restart`
@@ -7,55 +8,21 @@
# You can set these variables in ~/.profile or ~/.bash_profile if you have it as below: # You can set these variables in ~/.profile or ~/.bash_profile if you have it as below:
# No focus on mouse over (allows scrolling without changing focus)
focus_follows_mouse no
# remove title bar
default_border pixel 1
default_floating_border pixel 1
# set modifier key, Mod4 is super (windows), Mod1 = Alt key # set modifier key, Mod4 is super (windows), Mod1 = Alt key
set $mod Mod4 set $mod Mod4
bindsym $mod+F12 restart;reload bindsym $mod+F12 restart;reload
# THEME, should use same colors as .profile
set $black #272822
set $white #FFFFFF
set $red #F92672
set $blue #66D9EF
set $green #A6E22E
set $orange #FD971F
set $yellow #E6DB74
set $purple #AE81FF
set $allblack #000000
# power options
set $shutdown shutdown -h now
set $reboot reboot
set $hibernate sudo -A systemctl suspend
# Use Mouse+$mod to drag floating windows to their wanted position # Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod floating_modifier $mod
bindsym $mod+d floating toggle bindsym $mod+d floating toggle
font pango:Sans Regular 12
bar {
i3bar_command i3bar
status_command i3status
#--config $XDG_CONFIG_HOME/i3/i3status.conf
mode dock
position top
#tray_output primary
# font xft:Jetbrains mono 20
strip_workspace_numbers yes
workspace_buttons yes
colors {
background #000000
#statusline #F9FAF9
#separator #454947
# border bg text
focused_workspace $allblack $blue $allblack
#active_workspace #FFFFFF $black #FFFFFF
#inactive_workspace #FFFFFF $black #FFFFFF
#binding_mode #16a085 #2C2C2C #F9FAF9
urgent_workspace $red $black $red
}
}
# DROPDOWN # DROPDOWN
@@ -97,11 +64,6 @@ bindsym $mod+t layout toggle tabbed splith
bindsym $mod+Shift+v split h;exec notify-send 'tile horizontally |' bindsym $mod+Shift+v split h;exec notify-send 'tile horizontally |'
bindsym $mod+v split v;exec notify-send 'tile vertically -' bindsym $mod+v split v;exec notify-send 'tile vertically -'
# No focus on mouse over (allows scrolling without changing focus)
focus_follows_mouse no
# remove title bar
default_border pixel 1
default_floating_border pixel 1
# ARROW KEYS # ARROW KEYS
bindsym $mod+Left move workspace to output left bindsym $mod+Left move workspace to output left
@@ -156,20 +118,19 @@ bindsym $mod+Shift+0 move container to workspace $ws10
bindsym $mod+Return exec --no-startup-id "ulauncher-toggle" bindsym $mod+Return exec --no-startup-id "ulauncher-toggle"
bindsym $mod+space exec --no-startup-id $TERMINAL bindsym $mod+space exec --no-startup-id $TERMINAL
bindsym $mod+w exec --no-startup-id $BROWSER bindsym $mod+w exec --no-startup-id $BROWSER
bindsym $mod+Shift+w exec --no-startup-id "$BROWSER -profile ~/.mozilla/firefox/2ustnzbw.shopping"
bindsym $mod+e exec --no-startup-id $EXPLORER bindsym $mod+e exec --no-startup-id $EXPLORER
bindsym $mod+m exec --no-startup-id $MAILCLIENT bindsym $mod+m exec --no-startup-id $MAILCLIENT
bindsym $mod+Escape exec --no-startup-id $LOCKSCREEN bindsym $mod+Escape exec --no-startup-id $LOCKSCREEN
# TODO add import path/to/img.png to make a screenshot
bindsym --release $mod+s exec "import ~/Pictures/screenshots/$(date '+%y_%m_%d-%H_%M_%S').png"
bindsym $mod+Shift+s exec "import -window root ~/Pictures/screenshots/$(date 'import ~/Pictures/screenshots/$(date '+%y_%m_%d-%H_%M_%S').png"
# i3lock for locking, i3-msg exit for logout # i3lock for locking, i3-msg exit for logout
# Show selection: # Show selection:
#bindsym $mod+Insert exec --no-startup-id showclip #bindsym $mod+Insert exec --no-startup-id showclip
# class border bg. text indicator child_border
client.focused $blue $black $blue $blue $blue
client.focused_inactive $black $black $blue $black $black
client.unfocused $black $black $white $black $black
client.background $black
# AUTOSTART # AUTOSTART
# start polkit for pacman # start polkit for pacman

View File

@@ -1,8 +1,11 @@
{ {
"lock": { "lock": {
"command": "i3lock & sleep 5 && xset dpms force off" "command": "i3lock & sleep 2 && xset dpms force off"
}, },
"suspend": { "suspend": {
"command": "i3lock & systemctl suspend" "command": "i3lock & sleep 2 && systemctl suspend"
},
"hibernate": {
"command": "i3lock & sleep 2 && systemctl hibernate"
} }
} }

View File

@@ -3,15 +3,15 @@ Default=4vd8uypc.default-release
Locked=1 Locked=1
[Profile1] [Profile1]
Name=default Name=shopping
IsRelative=1 IsRelative=1
Path=ux957z6u.default Path=2ustnzbw.shopping
Default=1
[Profile0] [Profile0]
Name=default-release Name=work-default
IsRelative=1 IsRelative=1
Path=4vd8uypc.default-release Path=4vd8uypc.default-release
Default=1
[General] [General]
StartWithLastProfile=1 StartWithLastProfile=1

View File

@@ -1,7 +1,5 @@
# Basic config # Basic config
xset r rate 200 35 # set key repeat delay and rate xset r rate 200 35 # set key repeat delay and rate
# check for autorandr known configs
autorandr --check
# Clean Up Home Directory # Clean Up Home Directory
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache" export XDG_CACHE_HOME="$HOME/.cache"
@@ -38,21 +36,6 @@ export PURPLE="#AE81FF"
export FONT="Noto" export FONT="Noto"
export FONTSIZE="12" export FONTSIZE="12"
## define the font for dmenu to be used
DMENU_FN="$FONT-$FONTSIZE"
## background colour for unselected menu-items
DMENU_NB="#000000"
## textcolour for unselected menu-items
DMENU_NF=$WHITE
## background colour for selected menu-items
DMENU_SB=$BLUE
## textcolour for selected menu-items
DMENU_SF="#000000"
## command for the terminal application to be used:
TERMINAL_CMD="alacritty -e"
## export our variables
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
# default applications # default applications
export EDITOR=/usr/bin/nvim export EDITOR=/usr/bin/nvim
export BROWSER=/usr/bin/firefox export BROWSER=/usr/bin/firefox
@@ -60,4 +43,3 @@ export TERMINAL=/usr/bin/alacritty
export EXPLORER=/usr/bin/thunar export EXPLORER=/usr/bin/thunar
export MAILCLIENT=/usr/bin/thunderbird export MAILCLIENT=/usr/bin/thunderbird
export LAUNCHER="ulauncher-toggle" export LAUNCHER="ulauncher-toggle"
export LOCKSCREEN="i3lock"